package com.blog.mapper;

import com.blog.pojo.Blogusers;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: VE
 * @DATE: 2022/10/11 15:34
 * 描述:
 */
@Mapper
public interface BlogusersMapper {


    int insert(Blogusers blogusers);


    int delete(int uid);


    int update(Blogusers blogusers);


    Blogusers load(int uid);


    Blogusers login(String uphone);

    Blogusers checkUphone(String uphone);

    List<Blogusers> findBigUser();

    int findAttentionNum(Integer uid);

    int findFansNum(Integer uid);

    int findCollNum(Integer uid);

    List<Blogusers> findAttentUser(Integer uid);

    List<Blogusers> findFansUser(Integer uid);
}
